package com.gopay.common.gateway.manager.impl;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.gopay.common.domain.pg.PgP2pOrderTransDtl;
import com.gopay.common.gateway.dao.PgP2pOrderTransDtlQueryDAO;
import com.gopay.common.gateway.manager.PgP2pOrderTransDtlQueryManager;

/**
 * @PgP2pOrderTransDtlQueryManagerImpl.java
 * @author fanghw
 * @2014-4-18 下午5:03:50  www.gopay.com.cn Inc.All rights reserved.
 */
@Service("pgP2pOrderTransDtlQueryManager")
public class PgP2pOrderTransDtlQueryManagerImpl implements PgP2pOrderTransDtlQueryManager {
    
    @Resource(name = "pgP2pOrderTransDtlQueryDAO")
    private PgP2pOrderTransDtlQueryDAO pgP2pOrderTransDtlQueryDAO;
    
    @Override
    public PgP2pOrderTransDtl get(Serializable id) {
        // TODO Auto-generated method stub
        return pgP2pOrderTransDtlQueryDAO.find(PgP2pOrderTransDtl.class, id);
    }

    @Override
    public List<PgP2pOrderTransDtl> get(Map<Object, Object> paraMap) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public List<PgP2pOrderTransDtl> getAll() {
        // TODO Auto-generated method stub
        return pgP2pOrderTransDtlQueryDAO.findAll(PgP2pOrderTransDtl.class);
    }

}
